package com.thinkTank.oa.service;

import java.util.List;

import com.thinkTank.oa.base.BaseService;
import com.thinkTank.oa.entity.Permission;
import com.thinkTank.oa.entity.Role;

public interface PermissionService  extends BaseService<Permission>{
	public List<Permission> findPermissionByMenu();
	public Permission findPermissionByUrl(String url);
	
	public List<Permission> queryAllMenu();
	
	public List<Permission> queryAllPermission();
	public List<Permission> queryAllUserByPerm(String userId);
	public List<Permission> findPermissionByRoleId(Integer roleId);
}
